feat(web): expand saved prompt previews - #169
Merged
Merged
Conversation
The full content starts with the same first line, so keeping the inline preview visible read it twice.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Saved prompt rows now use a content-sized action area, so the inline preview reaches farther across the row. A chevron before Edit reveals the full prompt text without opening the editor. Expansion also works in read-only mode and is linked to its panel for screen readers.
Why
The generic settings row reserved a 10rem control column for one edit icon, which truncated previews early. Opening Edit was also the only way to read the complete prompt.
Checks
vp test run apps/web/src/components/settings/PromptsSettings.test.tsxvp checkvp run typecheckModel: gpt-5.6-sol with Fable 5 implementation and Opus 5 review, using the Claude Agent SDK.